package com.yang.studentsapp.utils;



import com.yang.studentsapp.EaseUser;

import java.util.Map;

/**
 * Created by ${Ян-Вэнь-Чао} on 2016/9/30.
 */
public class CacheUtlis {
    private String mCurrentUserName;
    private EaseUser mCurrentUser;
    private Map<String, EaseUser> mContactMap;

    private CacheUtlis() {

    }

    private static class SingleHolder {
        private static CacheUtlis mInstance = new CacheUtlis();
    }

    public static CacheUtlis instance() {
        return SingleHolder.mInstance;
    }



    public String getmCurrentUserName() {
        return mCurrentUserName;
    }

    public void setmCurrentUserName(String mCurrentUserName) {
        this.mCurrentUserName = mCurrentUserName;
    }

    public EaseUser getmCurrentUser() {
        return mCurrentUser;
    }

    public void setmCurrentUser(EaseUser mCurrentUser) {
        this.mCurrentUser = mCurrentUser;
    }

    public Map<String, EaseUser> getmContactMap() {
        return mContactMap;
    }

    public void setmContactMap(Map<String, EaseUser> mContactMap) {
        this.mContactMap = mContactMap;
    }
}
